package com.carlosk.kandicar.domain.http.workflow;

import java.util.ArrayList;
import java.util.HashMap;

import com.carlosk.kandicar.domain.BaseDomain;
import com.carlosk.kandicar.domain.http.TaskDocFileDomain;

/**
 * 流程只读的返回对象
 * 
 * @author carlos carlosk@163.com
 * @version 创建时间：2014年5月31日 上午9:04:56
 */

public class WorkFlowViewResponeDomain extends BaseDomain {
	private WorkFlowViewWorkFlow workflow;
	private ArrayList<WorkFlowViewDefinition> definition;
	private ArrayList<WorkFlowViewJsonData> jsonData;
	private String instanceId;
	private HashMap<String, ArrayList<TaskDocFileDomain>> fileMap;

	public HashMap<String, ArrayList<TaskDocFileDomain>> getFileMap() {
		return fileMap;
	}

	public void setFileMap(HashMap<String, ArrayList<TaskDocFileDomain>> fileMap) {
		this.fileMap = fileMap;
	}

	public ArrayList<WorkFlowViewJsonData> getJsonData() {
		return jsonData;
	}

	public void setJsonData(ArrayList<WorkFlowViewJsonData> jsonData) {
		this.jsonData = jsonData;
	}

	public String getInstanceId() {
		return instanceId;
	}

	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	public WorkFlowViewWorkFlow getWorkflow() {
		return workflow;
	}

	public void setWorkflow(WorkFlowViewWorkFlow workflow) {
		this.workflow = workflow;
	}

	public ArrayList<WorkFlowViewDefinition> getDefinition() {
		return definition;
	}

	public void setDefinition(ArrayList<WorkFlowViewDefinition> definition) {
		this.definition = definition;
	}

	@Override
	public String toString() {
		return "WorkFlowViewResponeDomain [workflow=" + workflow
				+ ", definition=" + definition + ", jsonData=" + jsonData
				+ ", instanceId=" + instanceId + ", fileMap=" + fileMap + "]";
	}

}
